package com.fr.report.io;

import com.fr.base.xml.XMLPrintWriter;
import com.fr.base.xml.XMLReadable;
import com.fr.base.xml.XMLableReader;
import java.io.Serializable;

public class HTMLExportAttr
  implements XMLReadable, Cloneable, Serializable
{
  private boolean isTDHeavy = false;

  public void setTDHeavy(boolean paramBoolean)
  {
    this.isTDHeavy = paramBoolean;
  }

  public boolean isTDHeavy()
  {
    return this.isTDHeavy;
  }

  public void readXML(XMLableReader paramXMLableReader)
  {
    String str = null;
    if (paramXMLableReader.isAttr())
      if ((str = paramXMLableReader.getAttr("isTDHeavy")) != null)
        setTDHeavy(Boolean.valueOf(str).booleanValue());
  }

  public void writeXML(XMLPrintWriter paramXMLPrintWriter)
  {
    paramXMLPrintWriter.startTAG("HTMLExportAttr");
    if (this.isTDHeavy)
      paramXMLPrintWriter.attr("isTDHeavy", this.isTDHeavy);
    paramXMLPrintWriter.end();
  }

  public Object clone()
    throws CloneNotSupportedException
  {
    HTMLExportAttr localHTMLExportAttr = (HTMLExportAttr)super.clone();
    return localHTMLExportAttr;
  }
}